/* 
 * File:   Enemy.h
 * Author: paula
 *
 * Created on 7 de noviembre de 2014, 14:27
 */

#ifndef ENEMY_H
#define	ENEMY_H

#include "Character.h"
#include "SBSImage.h"
#include "../Define/DefaultValues.h"

using namespace std;

class Enemy : public Walker {
public:
    Enemy();
    Enemy(int x, int y, SDL_Renderer** gRenderer, int id);
    Enemy(const Enemy& orig);
    virtual ~Enemy();

    void actualizeState(int state);
    void actualize();

private:

    SBSImage* snow1;
    SBSImage* snow2;
    SBSImage* snow3;
    SBSImage* snow4;
    SBSImage* snow5;
    
    void loadMediaSnow();
    bool caught, escaping;
    void setCaught();
    void keepCaught();
    void setEscaping();
    void keepEscaping();
    int counterEscaping;
    void shake(SBSImage* image);

};

#endif	/* ENEMY_H */
